<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-2.2.1.min.js"></script>
		<script type="text/javascript" src="js/jwplayer/jwplayer.js"></script>
		<script type="text/javascript">
			function getQueryString(name) {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
				var r = window.location.search.substr(1).match(reg);
				if(r != null) return unescape(r[2]);
				return null;
			}
			$(function() {
				jwplayer("test").setup({
					file: 'js/jwplayer/test.mp4',
					image: "js/jwplayer/player.jpg",
					width: getQueryString("width"),
					height: getQueryString("height"),
					autostart: true
				});
			});
		</script>
		<style type="text/css">
			body{
				margin: 0px;
			}
		</style>
	</head>

	<body>
		<div id="test"></div>
	</body>

</html>